export const callFunction = (name) => {
	return new Promise((resolve) => {
		uniCloud.callFunction({
			name,
			success: (result) => {
				resolve(result)
			}
		})
	})
}